package com.activitycode.datamodel.model;

import org.json.*;


public class WikiData {
	
    private String author;
    private String cateId;
    private String encyCollect;
    private String typeId;
    private String title;
    private String encyId;
    private String keyword;
    private String headImg;
    private String encyRead;
    
    
	public WikiData () {
		
	}	
        
    public WikiData (JSONObject json) {
    
        this.author = json.optString("author");
        this.cateId = json.optString("cate_id");
        this.encyCollect = json.optString("ency_collect");
        this.typeId = json.optString("type_id");
        this.title = json.optString("title");
        this.encyId = json.optString("ency_id");
        this.keyword = json.optString("keyword");
        this.headImg = json.optString("head_img");
        this.encyRead = json.optString("ency_read");

    }
    
    public String getAuthor() {
        return this.author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getCateId() {
        return this.cateId;
    }

    public void setCateId(String cateId) {
        this.cateId = cateId;
    }

    public String getEncyCollect() {
        return this.encyCollect;
    }

    public void setEncyCollect(String encyCollect) {
        this.encyCollect = encyCollect;
    }

    public String getTypeId() {
        return this.typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public String getTitle() {
        return this.title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getEncyId() {
        return this.encyId;
    }

    public void setEncyId(String encyId) {
        this.encyId = encyId;
    }

    public String getKeyword() {
        return this.keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public String getHeadImg() {
        return this.headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public String getEncyRead() {
        return this.encyRead;
    }

    public void setEncyRead(String encyRead) {
        this.encyRead = encyRead;
    }


    
}
